package com.naiterui.ehp.bs.patient.vo.doctor;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

/**
 * 消息VO

 * @version 2015年6月30日 上午1:41:03 by Amber
 */
public class MessageVO implements Serializable {
    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = 2935528167288724429L;
    private Integer type;
    private Long time;
    private String content;
    // 消息所在会话开始时间
    @JsonInclude(Include.NON_NULL)
    private Long startTime;
    // 消息所在会话结束时间
    @JsonInclude(Include.NON_NULL)
    private Long endTime;
    // 消息所在会话会话id
    @JsonInclude(Include.NON_NULL)
    private String consultSessionId;

    public Integer getType() {
        return this.type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getTime() {
        return this.time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getStartTime() {
        return this.startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public Long getEndTime() {
        return this.endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getConsultSessionId() {
        return this.consultSessionId;
    }

    public void setConsultSessionId(String consultSessionId) {
        this.consultSessionId = consultSessionId;
    }

    @Override
    public String toString() {
        return "MessageVO{" + "type=" + this.type + ", time=" + this.time + ", content='" + this.content + '\'' + ", startTime=" + this.startTime
                + ", endTime=" + this.endTime + ", consultSessionId='" + this.consultSessionId + '\'' + '}';
    }
}
